{% extends 'myadmin/index.html' %}

{% block title %}
<title>后台-会员订单</title>
{% endblock %}
{% block index %}
<a href="{% url 'myadmin_index' %}">
    <i class="am-icon-home sidebar-nav-link-logo"></i> 首页
</a>
{% endblock %}
{% block order %}
<li class="sidebar-nav-link">
    <a href="javascript:;" class="sidebar-nav-sub-title active">
        <i class="am-icon-shopping-bag sidebar-nav-link-logo"></i> 订单管理
        <span class="am-icon-chevron-down am-fr am-margin-right-sm sidebar-nav-sub-ico"></span>
    </a>
    <ul class="sidebar-nav sidebar-nav-sub">
        <li class="sidebar-nav-link">
            <a href="{% url 'myadmin_order_index' %}">
                <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 订单列表
            </a>
        </li>
    </ul>
</li>
{% endblock %}




{% block main %}

<script type="text/javascript" src="/static/myadmin/js/jquery.min.js"></script>
<div class="row-content am-cf">
  <div class="row">
    <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
      <div class="widget am-cf">
        <div class="widget-head am-cf">
          <div class="widget-title  am-cf">订单详情</div></div>
        <div class="widget-body  am-fr">
          <div class="am-u-sm-12 am-u-md-6 am-u-lg-6">
           
          </div>
          <form>
          <div class="am-u-sm-12 am-u-md-6 am-u-lg-3">
 <!--            <div class="am-form-group tpl-table-list-select">
              <select name="types" data-am-selected="" class="sel">
                <option value="all"{% if request.GET.types == 'all' %} selected {% endif %}>所有</option>
                <option value="title"{% if request.GET.types == 'title' %} selected {% endif %}>商品标题</option>
                <option value="price"{% if request.GET.types == 'price' %} selected {% endif %}>价格</option>
                <option value="status"{% if request.GET.types == 'status' %} selected {% endif %}>状态</option>
                </select>
            </div> -->
          </div>
       <!--    <div class="am-u-sm-12 am-u-md-12 am-u-lg-3">
            <div class="am-input-group am-input-group-sm tpl-form-border-form cl-p inp">
              <input value="" type="text" class="am-form-field " name="textVal">
              <span class="am-input-group-btn">
                <button class="am-btn  am-btn-default am-btn-success tpl-table-list-field am-icon-search"></button>
              </span>
            </div> -->
          </div>
          </form>
         
          <div class="am-u-sm-12">
            <table width="100%" class="am-table am-table-compact am-table-striped tpl-table-black " id="">
              <thead>
                <tr>
                  <th>ID</th>
                  <th>商品图片</th>
                   <th>商品标题</th>
                  <th>商品价格</th>
                  <th>商品数量</th>
                </tr>
              </thead>
              <tbody>
              {% for i in data %}
                <tr class="gradeX">
                <td>{{i.id}}</td>
                  <td>
                      <img src="{{i.pic_url}}" width="100px">
                  </td>
                  <td>{{i.title}}</td>
                  <td>{{i.price}}</td>
                  <td>{{i.num}}</td>
                  </div>
                </tr>
                {% endfor %}
                <!-- more data --></tbody>
            </table>
          </div>
          <div class="am-u-lg-12 am-cf">
            <div class="am-fr">
              <ul class="am-pagination tpl-pagination">
              </ul>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>


</div>
{% endblock %}